<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<table class="turn_page" align="center">
	<tr>
		<td align="left"><select name="pageSize"
			onchange="this.form.submit();">
				<c:forEach items="${pageData.pageSizeOptionList}" var="onePageSize">
					<option value="${onePageSize}"
						<c:if test="${onePageSize == pageData.pageSize}"> selected="selected"</c:if>>${onePageSize}</option>
				</c:forEach>
		</select></td>
		<td align="right" class="page-area">共 ${pageData.totalCount} 条 /
			${pageData.totalPage} 页 <a
			href="javascript:Util.turnPage(document.${param['formName']}, 1);"
			class="turn">|&lt;</a> <c:if test="${pageData.currentPage > 1}">
				<a
					href="javascript:Util.turnPage(document.${param['formName']}, ${pageData.currentPage} - 1);"
					class="turn">&lt;</a>
			</c:if> <c:forEach items="${pageData.displayPageNums}" var="page">
				<c:choose>
					<c:when test="${page == pageData.currentPage}">
						<span class="this_page">${page}</span>
					</c:when>
					<c:otherwise>
						<a
							href="javascript:Util.turnPage(document.${param['formName']}, ${page});"
							class="turn">${page}</a>
					</c:otherwise>
				</c:choose>
			</c:forEach> <c:if test="${pageData.totalPage > pageData.currentPage}">
				<a
					href="javascript:Util.turnPage(document.${param['formName']}, ${pageData.currentPage} + 1);"
					class="turn">&gt;</a>
			</c:if> <a
			href="javascript:Util.turnPage(document.${param['formName']}, ${pageData.totalPage});"
			class="turn">&gt;|</a> <input type="text" name="currentPage"
			value="${pageData.currentPage}" size="3"> <input
			type="submit" value="Go">
		</td>
	</tr>
</table>
